package com.yangjian.service;

import com.yangjian.bean.DishFlavor;

import java.util.List;

public interface DishFlavorService {

    /**
     * 根据菜单表id查询口味表
     * @param DishId
     * @return
     */

    List<DishFlavor> findByDishId(Long DishId);


    /**
     * 添加口味
     * @param dishFlavor
     * @return
     */
    int add(DishFlavor dishFlavor);


    /**
     * 根据菜品的id删除口味表数据
     * @param dId
     * @return
     */
    int delete(long dId);


}
